package com.itfreer.power.service.role;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.power.entity.role.RoleEntrustEntity;

/**
 * 定义用户服务
 */
@Component
@Path("/roleentrust/")
public class RestRoleEntrustService extends BaseRestService<RoleEntrustEntity> {
	
	@Autowired
	private RoleEntrustService roleManage;

	@Override
	protected BaseService<RoleEntrustEntity> getService() {
		return roleManage;
	}
	
	@Override
	protected String getServiceName() {
		return "roleentrust";
	}
}